package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.GroupNoticeTitlePics;
import cn.stylefeng.guns.sys.modular.system.model.params.GroupNoticeTitlePicsParam;
import cn.stylefeng.guns.sys.modular.system.model.result.GroupNoticeTitlePicsResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 群通知封面表 服务类
 * </p>
 *
 * @author jiangge
 * @since 2021-07-26
 */
public interface GroupNoticeTitlePicsService extends IService<GroupNoticeTitlePics> {

    /**
     * 新增
     *
     * @author jiangge
     * @Date 2021-07-26
     */
    GroupNoticeTitlePics add(GroupNoticeTitlePicsParam param);

    /**
     * 删除
     *
     * @author jiangge
     * @Date 2021-07-26
     */
    ResponseData delete(GroupNoticeTitlePicsParam param);

    /**
     * 更新
     *
     * @author jiangge
     * @Date 2021-07-26
     */
    void update(GroupNoticeTitlePicsParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jiangge
     * @Date 2021-07-26
     */
    GroupNoticeTitlePicsResult findBySpec(GroupNoticeTitlePicsParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jiangge
     * @Date 2021-07-26
     */
    List<GroupNoticeTitlePicsResult> findListBySpec(GroupNoticeTitlePicsParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jiangge
     * @Date 2021-07-26
     */
     LayuiPageInfo findPageBySpec(GroupNoticeTitlePicsParam param);

    List<GroupNoticeTitlePicsResult> findListByParam(GroupNoticeTitlePicsParam param);

}
